﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Process.Domain
{
    /// <summary>
    /// 工序表
    /// </summary>
    public class ProcessTable
    {
        /// <summary>
        /// 工序主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        [Key]
        public int ProcessId {  get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode {  get; set; }
        /// <summary>
        /// 工序名称(压合、清洗、烘干、切割、收集、消毒、包装)
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 状态(0是启用1是禁用)
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 工序说明
        /// </summary>
        public string ProcessDescription {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark {  get; set; }
    }
}
